package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 求助管理对象 help_request
 * 
 * @author ruoyi
 * @date 2025-07-10
 */
public class HelpRequest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Integer id;

    /** 配送员ID */
    @Excel(name = "配送员ID")
    private Long riderId;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String realName;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phoneNumber;

    /** 求助类型（交通事故、财产安全等） */
    @Excel(name = "求助类型", readConverterExp = "交=通事故、财产安全等")
    private String helpType;

    /** 求助描述 */
    @Excel(name = "求助描述")
    private String helpDesc;

    /** 求助位置 */
    @Excel(name = "求助位置")
    private String helpLocation;

    /** 求助时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "求助时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date helpTime;

    /** 状态（待处理、已处理等） */
    @Excel(name = "状态", readConverterExp = "待=处理、已处理等")
    private String status;

    private String handleOpinion;

    public String getHandleOpinion() {
        return handleOpinion;
    }

    public void setHandleOpinion(String handleOpinion) {
        this.handleOpinion = handleOpinion;
    }





    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setRiderId(Long riderId)
    {
        this.riderId = riderId;
    }

    public Long getRiderId()
    {
        return riderId;
    }

    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getRealName() 
    {
        return realName;
    }

    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }

    public void setHelpType(String helpType) 
    {
        this.helpType = helpType;
    }

    public String getHelpType() 
    {
        return helpType;
    }

    public void setHelpDesc(String helpDesc) 
    {
        this.helpDesc = helpDesc;
    }

    public String getHelpDesc() 
    {
        return helpDesc;
    }

    public void setHelpLocation(String helpLocation) 
    {
        this.helpLocation = helpLocation;
    }

    public String getHelpLocation() 
    {
        return helpLocation;
    }

    public void setHelpTime(Date helpTime) 
    {
        this.helpTime = helpTime;
    }

    public Date getHelpTime() 
    {
        return helpTime;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("riderId", getRiderId())
            .append("realName", getRealName())
            .append("phoneNumber", getPhoneNumber())
            .append("helpType", getHelpType())
            .append("helpDesc", getHelpDesc())
            .append("helpLocation", getHelpLocation())
            .append("helpTime", getHelpTime())
            .append("status", getStatus())
                .append("handleOpinion", getHandleOpinion())
            .toString();
    }
}
